package com.beamfield.dao.lab;

import com.beamfield.model.ConcreteRearatio;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface ConcreteRearatioMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ConcreteRearatio record);

    int insertSelective(ConcreteRearatio record);

    ConcreteRearatio selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ConcreteRearatio record);

    int updateByPrimaryKey(ConcreteRearatio record);

    Long selectIdByConcreteOpeningId(@Param("concrete_opening_id")Long concrete_opening_id);

    List<ConcreteRearatio> getAllConcreteRearatio(@Param("beam_id")Long beam_id);

    ConcreteRearatio selectByNoticeNo(@Param("tzd") String tzd,@Param("beamId") Long beamId);
}
